package com.sumainfor.pc.gmio.controller.schedul;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.impl.SchedulBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/**
 * @author Meng
 * @ClassName SchedulBillController
 * @date 2019/12/29 13:54
 * @description: TODO
 */
@Controller
@RequestMapping("/key/houow/SchedulBillCon")
public class SchedulBillController {

  @Autowired
  SchedulBillService schedulBillService;


  @ResponseBody
  @PostMapping("/getSchedulBill")
  public JsonResult  getSchedulBill(@RequestBody Map<String,Object> params){
    JsonResult result = new JsonResult();
    return result.put(schedulBillService.getSchedulBill(params));

  }

}
